package cn.stephen.study.demoproject.dao.dbone;

import cn.stephen.study.demoproject.entity.Patrol;
import cn.stephen.study.demoproject.entity.PatrolValue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PatrolValueMapper {

    PatrolValue findAllByValue(@Param("patrolId") String patrolId);

    void delByPatrolId(@Param("patrolId") String patrolId);

    Integer insetPatrol(PatrolValue patrolValue);

    Integer updatePatrolValue(PatrolValue patrolValue);
}
